package spring_test;

public class BirdFactory {
	public Bird createBird(int id, String name)		{
		Bird bird = new Bird();
		bird.setId(id);
		bird.setName(name);
		bird.setSwing(new Bird.Swing());
		return bird;
	}
}
